package com.kikt.animationdemo;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

import butterknife.Bind;
import butterknife.OnClick;

public class MainActivity extends AppCompatActivity {

    @Bind(R.id.start1)
    Button mStart1;
    @Bind(R.id.start2)
    Button mStart2;
    @Bind(R.id.start3)
    Button mStart3;

    @OnClick(R.id.start1)
    public void start1(View view) {
        startActivity(new Intent(this, SecondActivity.class));
    }

    @OnClick(R.id.start2)
    public void start2(View view) {
        startActivity(new Intent(this, PhotoActivity.class));
    }

    @OnClick(R.id.start3)
    public void start3(View view) {
        startActivity(new Intent(this, ViewPagerActivity.class));
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        butterknife.ButterKnife.bind(this);
        mStart2.setText("照片");
    }
}
